<!--
 * @Description: 
 * @version: 
 * @Author: erze
 * @Date: 2021-05-18 19:39:10
 * @LastEditors: erze
 * @LastEditTime: 2021-05-18 20:46:41
-->
<template>
  <div class="z-button">
      <button @click="$emit('click')">
          <slot></slot>
      </button>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.z-button{
  button{
    width: 80px;
    height: 30px;
    background-color: #ccf;
    outline: none;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 500;
  }
  
}
</style>